﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rel.Expressions
{

	/// <summary>
	/// Encapsulates a string literal
	/// </summary>
  public  class Literal:RegBase
    {


      public Literal(string literal,RelGroup parent):base(parent)
      {

			this._patternbase = (literal.Length > 0 ? "(" : string.Empty) +
			EscapeString (literal) +
			(literal.Length > 0 ? ")" : string.Empty);
      }
		public Literal()
		{
		}
    }
}
